import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/manager/monitorlist',
    method: 'post',
    data,
  })
}

export function getUserlist(data) {
  return request({
    url: '/mando/userlist',
    method: 'post',
    data,
  })
}

export function deluser(data) {
  return request({
    url: '/mando/deluser',
    method: 'post',
    data,
  })
}

export function doAdd(data) {
  return request({
    url: '/manager/addmonitor',
    method: 'post',
    data,
  })
}

export function doEdit(data) {
  return request({
    url: '/manager/editmonitor',
    method: 'post',
    data,
  })
}

export function okorders(data) {
  return request({
    url: '/finds/okorders',
    method: 'post',
    data,
  })
}

export function doDelete(data) {
  return request({
    url: '/manager/delmonitor',
    method: 'post',
    data,
  })
}

export function addGroup(data) {
  return request({
    url: '/manager/addgroup',
    method: 'post',
    data,
  })
}

export function getMarginlist(data) {
  return request({
    url: '/mando/marginlist',
    method: 'get',
    data,
  })
}
export function delGroup(data) {
  return request({
    url: '/manager/delgroup',
    method: 'post',
    data,
  })
}

export function editgroup(data) {
  return request({
    url: '/manager/editgroup',
    method: 'post',
    data,
  })
}

export function delmarginIn(data) {
  return request({
    url: '/mando/delmargin',
    method: 'post',
    data,
  })
}

export function getFeelist(data) {
  return request({
    url: '/mando/feelist',
    method: 'get',
    data,
  })
}

export function getWclist(data) {
  return request({
    url: '/mando/wclist',
    method: 'get',
    data,
  })
}

export function addwc(data) {
  return request({
    url: '/mando/addwc',
    method: 'post',
    data,
  })
}
export function editwc(data) {
  return request({
    url: '/mando/editwc',
    method: 'post',
    data,
  })
}

export function delwc(data) {
  return request({
    url: '/mando/delwc',
    method: 'post',
    data,
  })
}

export function getRatelist(data) {
  return request({
    url: '/mando/ratelist',
    method: 'get',
    data,
  })
}

export function delrate(data) {
  return request({
    url: '/mando/delrate',
    method: 'post',
    data,
  })
}

export function editrate(data) {
  return request({
    url: '/mando/editrate',
    method: 'post',
    data,
  })
}

export function addrate(data) {
  return request({
    url: '/mando/addrate',
    method: 'post',
    data,
  })
}

export function getrateinfo(data) {
  return request({
    url: '/mando/getrateinfo',
    method: 'post',
    data,
  })
}

export function saverate(data) {
  return request({
    url: '/mando/saverate',
    method: 'post',
    data,
  })
}

export function addfee(data) {
  return request({
    url: '/mando/addfee',
    method: 'post',
    data,
  })
}

export function editfee(data) {
  return request({
    url: '/mando/editfee',
    method: 'post',
    data,
  })
}

export function delfee(data) {
  return request({
    url: '/mando/delfee',
    method: 'post',
    data,
  })
}

export function savefee(data) {
  return request({
    url: '/mando/savefee',
    method: 'post',
    data,
  })
}

export function getfeeinfo(data) {
  return request({
    url: '/mando/getfeeinfo',
    method: 'post',
    data,
  })
}

export function getmargininfo(data) {
  return request({
    url: '/mando/getmargininfo',
    method: 'post',
    data,
  })
}

export function savemargin(data) {
  return request({
    url: '/mando/savemargin',
    method: 'post',
    data,
  })
}

export function dslist(data) {
  return request({
    url: '/manager/dslist',
    method: 'post',
    data,
  })
}

// 添加子账户
export function adduser(data) {
  return request({
    url: '/mando/adduser',
    method: 'post',
    data,
  })
}

// 修改子账户
export function edituser(data) {
  return request({
    url: '/mando/edituser',
    method: 'post',
    data,
  })
}

// 修改子账户
export function deposit(data) {
  return request({
    url: '/manager/deposit',
    method: 'post',
    data,
  })
}

export function getec(data) {
  return request({
    url: '/wcdo/getec',
    method: 'post',
    data,
  })
}

export function eclist(data) {
  return request({
    url: '/wcdo/eclist',
    method: 'post',
    data,
  })
}

export function olist(data) {
  return request({
    url: '/wcdo/olist',
    method: 'post',
    data,
  })
}

export function risklist(data) {
  return request({
    url: '/wcdo/risklist',
    method: 'post',
    data,
  })
}

export function equitlist(data) {
  return request({
    url: '/wcdo/equitlist',
    method: 'post',
    data,
  })
}

export function marginlist(data) {
  return request({
    url: '/wcdo/marginlist',
    method: 'post',
    data,
  })
}

export function getmargin(data) {
  return request({
    url: '/wcdo/getmargin',
    method: 'post',
    data,
  })
}

export function addmargin(data) {
  return request({
    url: '/wcdo/addmargin',
    method: 'post',
    data,
  })
}

export function editmargin(data) {
  return request({
    url: '/wcdo/editmargin',
    method: 'post',
    data,
  })
}

export function qplist(data) {
  return request({
    url: '/wcdo/qplist',
    method: 'post',
    data,
  })
}

export function contactlist(data) {
  return request({
    url: '/stock/contactlist',
    method: 'post',
    data,
  })
}

export function addec(data) {
  return request({
    url: '/wcdo/addec',
    method: 'post',
    data,
  })
}

export function editec(data) {
  return request({
    url: '/wcdo/editec',
    method: 'post',
    data,
  })
}

export function delec(data) {
  return request({
    url: '/wcdo/delec',
    method: 'post',
    data,
  })
}

export function addol(data) {
  return request({
    url: '/wcdo/addol',
    method: 'post',
    data,
  })
}

export function editol(data) {
  return request({
    url: '/wcdo/editol',
    method: 'post',
    data,
  })
}

export function getol(data) {
  return request({
    url: '/wcdo/getol',
    method: 'post',
    data,
  })
}

export function addrisk(data) {
  return request({
    url: '/wcdo/addrisk',
    method: 'post',
    data,
  })
}

export function editrisk(data) {
  return request({
    url: '/wcdo/editrisk',
    method: 'post',
    data,
  })
}

export function getrisk(data) {
  return request({
    url: '/wcdo/getrisk',
    method: 'post',
    data,
  })
}

export function getequit(data) {
  return request({
    url: '/wcdo/getequit',
    method: 'post',
    data,
  })
}

export function addequit(data) {
  return request({
    url: '/wcdo/addequit',
    method: 'post',
    data,
  })
}

export function editequit(data) {
  return request({
    url: '/wcdo/editequit',
    method: 'post',
    data,
  })
}

export function addqp(data) {
  return request({
    url: '/wcdo/addqp',
    method: 'post',
    data,
  })
}

export function editqp(data) {
  return request({
    url: '/wcdo/editqp',
    method: 'post',
    data,
  })
}

export function getqp(data) {
  return request({
    url: '/wcdo/getqp',
    method: 'post',
    data,
  })
}

export function delol(data) {
  return request({
    url: '/wcdo/delol',
    method: 'post',
    data,
  })
}

export function delrisk(data) {
  return request({
    url: '/wcdo/delrisk',
    method: 'post',
    data,
  })
}

export function delmargin(data) {
  return request({
    url: '/wcdo/delmargin',
    method: 'post',
    data,
  })
}

export function delequit(data) {
  return request({
    url: '/wcdo/delequit',
    method: 'post',
    data,
  })
}

export function delqp(data) {
  return request({
    url: '/wcdo/delqp',
    method: 'post',
    data,
  })
}

export function userfunds(data) {
  return request({
    url: '/finds/userfunds',
    method: 'post',
    data,
  })
}

export function onlineorders(data) {
  return request({
    url: '/finds/onlineorders',
    method: 'post',
    data,
  })
}

export function wtorders(data) {
  return request({
    url: '/finds/wtorders',
    method: 'post',
    data,
  })
}

export function taskorders(data) {
  return request({
    url: '/finds/taskorders',
    method: 'post',
    data,
  })
}

export function dsfunds(data) {
  return request({
    url: '/finds/dsfunds',
    method: 'post',
    data,
  })
}

export function changeGroup(data) {
  return request({
    url: '/mando/changegroup',
    method: 'post',
    data,
  })
}
export function exportData(data) {
  return request({
    url: '/finds/exportdata',
    method: 'post',
    data,
  })
}

export function getstocketmain(data) {
  return request({
    url: '/stock/stocketmain',
    method: 'post',
    data,
  })
}

export function getChildAccount(data) {
  return request({
    url: 'finds/allfunds',
    method: 'post',
    data,
  })
}
